package com.ma.entity;


import lombok.Data;


import javax.validation.constraints.NotBlank;
import java.util.Date;



@Data
public class SysRole extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @NotBlank(message = "角色名称不能为空")
    private String name;

    @NotBlank(message = "角色编码不能为空")
    private String code;

    /**
     * 备注
     */
    private String remark;


}
